import request from '@/utils/request'

// /system/camera/config/list   查询拍照仪器配置(郎黛跟霏图的接口设置)列表
export function listCameraConfig(query) {
  return request({
    url: '/system/camera/config/list',
    method: 'get',
    params: query
  })
}

// /system/camera/config/getInfo/equipmentNumber  获取拍照仪器配置(郎黛跟霏图的接口设置)详细信息根据唯一编码
export function getCameraInfoByequipmentNumber(query) {
    return request({
        url: '/system/camera/config/getInfo/equipmentNumber',
        method: 'get',
        params: query
      })
  }
////system/camera/config/get/organizationNames  获取机构名列表
export function getCameraOrganizationNames(query) {
    return request({
        url: '/system/camera/config/get/organizationNames',
        method: 'get',
        params: query
      })
  }
////system/camera/config   新增改拍照仪器配置(郎黛跟霏图的接口设置)
export function addCameraConfig(data) {
  return request({
    url: '/system/camera/config',
    method: 'post',
    data: data
  })
}
////system/camera/config   修改拍照仪器配置(郎黛跟霏图的接口设置)
export function updateCameraConfig(data) {
  return request({
    url: '/system/camera/config',
    method: 'put',
    data: data
  })
}
//system/camera/config/get/sysCameraConfigList 获取未填科室id设备列表

export function getsysCameraConfigList(query) {
  return request({
      url: '/system/camera/config/get/sysCameraConfigList',
      method: 'get',
      params: query
    })
}

//system/camera/config/batch/update/sysCameraConfigInfo 为设备增加医院信息
export function updatesysCameraConfigInfo(data) {
  return request({
    url: '/system/camera/config/batch/update/sysCameraConfigInfo',
    method: 'post',
    data: data
  })
}